﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace apitest.Application.Services
{
    public class DList : IValue
    {
        private List<Row> _rows = new List<Row>();
        public void AddRow(Row row)
        {
            if (row != null)
                this._rows.Add(row);
        }

        public Row CreateRow()
        {
            var row =  new Row();
            this.AddRow(row);
            return row;
        }

        public string GetText()
        {
            return "";
        }

        public List<Row> Rows => this._rows;
    }
}
